package com.dak.robot.Dao;

import com.dak.robot.Entity.GroupMessage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GroupMessageDao {
    int insert(GroupMessage record);

    int insertSelective(GroupMessage record);

    List<GroupMessage> select(Long sender_id,Long group_id);

    GroupMessage selectById(Long id);

    void deleteBySenderIdOrGroupId(Long sender_id,Long group_id);

    void deleteByGroupMessageId(Long id);
}